﻿{extend name="index/index"}
{block name="centent"}
<!--中间内容-->
<div class="logoin">
<div class="wz">您当前的位置：<em>会员登录</em></div>
<div class="zhuce">
  <div class="zc_form">
    <form action="{:url('index/Login/login')}" method="post">
    <!-- <form id="ajaxForm"> -->
    <!-- <form action="#" id="form"> -->
    <table cellpadding="0" cellspacing="0" class="tab2">
      <tr>
        <td align="right">手机号:<font class="f_red">*</font></td>
        <td>
          <input type="text" name="tel" value="" class="input1" />
        </td>
      </tr>
      <tr>
        <td align="right">密码:<font class="f_red">*</font></td><td>
        <input type="password" name="pass" value="" class="input1" />
        </td>
      </tr>
      <tr>
        <td colspan="2"><input type="text" class="input2" />
          <span class="yzcode"><img src="/static/index/imgs/code.jpg" />
            <a href="#">看不清图？片换个图片</a>
          </span>
        </td>
      </tr>
      <tr>
        <td colspan="2"><input type="checkbox"  class="check1"/>我已阅读并同意 <a href="#">会员注册协议</a>和
          <a href="#">隐私保护政策</a>。
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <input type="submit" value="登录"  class="btn1"/>
          <!-- <button  class="btn1" type="button">登录</button> -->
        </td>
      </tr>
    </table>
    </form>
  </div>
  <div class="zc_pic"><img src="/static/index/imgs/loginpic.jpg" /></div>
</div>
</div>

<script type="text/javascript" src="/static/index/js/jquery-1.8.3.min.js"></script>

<script>
    function ajaxForm(){  
        // var formData = $("#myform").serialize();  
        var input = $('input').val();
        console.log(input);
        // console.log(formData);
        // alert(formData);

        // $.ajax({  
        //   type:"post",  
        //   url:"Hmy_doregister",  
        //   data:formData,  
        //   success:function(data){  
        //   console.log('成功');  
        //   }          
        //   error:function(data){  
        //   console.log('失败');  
        //   }  
        // });  
    } 
</script>
{/block}
